package com.bawei.hgshop.controller;

import org.springframework.context.annotation.Configuration;
/**
 * 
 *  为了解决如下启动异常
 * Caused by: java.lang.IllegalStateException: availableProcessors is already set to [8], rejecting [8]
 * @时间  2021-1-24  9:13:11
 *
 */
@Configuration
public class MyConfig {
	
	static {
		System.err.print("execute here ............");
		System.setProperty("es.set.netty.runtime.available.processors", "false");
	}

}
